<template>
	<view>
		<uni-card @click="bang">绑定的邮箱：<text class="aad">未绑定</text></uni-card>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
			
		methods:{
			bang(){
				uni.showModal({
					title:'添加邮箱',
					editable:true,
					placeholderText:'请输入你的邮箱地址',
					success: (e)=>{
						if(e.confirm){
							this.logout();
					setTimeout(()=>{
						uni.navigateBack();
					}, 200)
					}
					}
				})
			}
		}
	}
</script>

<style lang="scss">
	.aad{
		float: right;
	}

</style>
